
#User Guide# by Evelyn @ev_ynw
(Please do not take this txt as your own)


>> Installation
LockHTML: /var/mobile/Library/LockHTML
GroovyLock: /var/mobile/Library/GroovyLock
SBHTML: /var/mobile/Library/SBHTML
iWidget: /var/mobile/Library/iWidget

Requires Infostats2 for weather, battery & RAM to work.
Default Widget.html uses InfoStats2 for weather info. No configurations needed in Config.js. If you want to use the old weather code route, there is an alt html for that.

This widget automatically fits iP5, iP6, iP6+ (default), & iP6+ (Upscale) resolutions.


>> Changing locale for weather components
2 types of code you can use: 1) zip code; or 2) weather code
Find your weather code: go to www.weather.com, search for your city, find the code in the address bar. It consists of a string of alphabets & numbers, e.g. HKXX0049

Change the weather code:
- locate Config.js in the widget folder, open it on PC or iFile
- under the line “var weathercode = ‘XXX’”, replace the default weather code with your own. Do not remove the quotation marks.


>> Changing size of widget on custom resolutions
Open up Widget.html. At the bottom part you should be able find the following line:

else if( getDeviceWidth() == 594 ){
viewport = document.querySelector("meta[name=viewport]");
viewport.setAttribute('content', 'width=device-width, initial-scale=1.584, maximum-scale=1.584, user-scalable=no');
}

Please enter your own device width & your desired scale for both “initial-scale” and “maximum-scale” in the above line.
* Calculation of fitting scaling ratio for your resolution:
   If your resolution in Upscale is 900x1600. Your device width = 900/2 = 450.
   The best scaling ratio = 450/375 (default res of iP6) = 1.2


>> Credits
Original code belongs to Dacal, Junesiphone and Matchstic. Auto-sizing script modified by me. And i used it too : amirsardari


>> Contact me
Twitter: @ev_ynw
Reddit: /u/yeahwell_mlgb


